package com.myjavalab.jvm;

public class Salutation {

	private static final String HELLO = "Hello, World!";
	private static final String GREETING = "Greetings, planet!";
	private static final String SALUTATTION = "Salutation, orb!";
		
	private static int choice = (int)(Math.random() * 2.99);
	
	public static void main(String[] args) {
	
		String s = HELLO;
		if(choice == 1) {
			s = GREETING; 
		}
		else if(choice == 2) {
			s = SALUTATTION;
		}
		System.out.println(s);
	}

}
